package me.ivps.android.weibo.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 广告
 * 
 * User: qii Date: 14-5-6
 */
public class AdBean implements Parcelable {
    
    private String id;
    
    private String mark;
    
    @Override
    public int describeContents() {
        return 0;
    }
    
    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(id);
        dest.writeString(mark);
    }
    
    public static final Parcelable.Creator<AdBean> CREATOR = new Parcelable.Creator<AdBean>() {
        @Override
        public AdBean createFromParcel(Parcel in) {
            AdBean adBean = new AdBean();
            adBean.id = in.readString();
            adBean.mark = in.readString();
            return adBean;
        }
        
        @Override
        public AdBean[] newArray(int size) {
            return new AdBean[size];
        }
    };
    
    public String getId() {
        return id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    public String getMark() {
        return mark;
    }
    
    public void setMark(String mark) {
        this.mark = mark;
    }
}
